|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Macros | |
| #define | INFOB_START (0x1900) |
Functions | |
| void | main (void) |
Variables | |
| uint8_t | calibration_data_char [16] |
| uint16_t | calibration_data_int [8] |
| uint32_t | calibration_data_long [4] |
| #define INFOB_START (0x1900) |
Dummy calibration data is written to infoB. 16 locations are written with char data, 8 locations with int data and 4 locations with word data. LED toggles upon completion.
Check infoB location @ 0x1900 on execution of program.
/|| | | | P1.0|-LED –|RST | | |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 63 of file flashctl_ex1_writeToInfoB.c.
| void main | ( | void | ) |
Definition at line 109 of file flashctl_ex1_writeToInfoB.c.
References __delay_cycles(), calibration_data_char, calibration_data_int, calibration_data_long, INFOB_START, status, and STATUS_FAIL.
| uint8_t calibration_data_char[16] |
Definition at line 70 of file flashctl_ex1_writeToInfoB.c.
Referenced by main().
| uint16_t calibration_data_int[8] |
Definition at line 91 of file flashctl_ex1_writeToInfoB.c.
Referenced by main().
| uint32_t calibration_data_long[4] |
Definition at line 104 of file flashctl_ex1_writeToInfoB.c.
Referenced by main().